package org.theqcp.wow.model.player;

import org.theqcp.wow.model.mechanics.ClassType;

public class TalentFactory {

	/**
	 * Create a talent instance with the given name, level, and for the
	 * given class type.
	 * 
	 * @param talentName
	 * @param level
	 * @param classType
	 * @return
	 */
	public Talent createTalent(final String talentName, int level, ClassType classType) {
		
		Talent t = new Talent(level) {

			//does nothing
			@Override
			public void calculateStats(Player player) {	}

			@Override
			public ClassType forClass() {
				return null;
			}

			@Override
			public String getName() {
				return talentName;
			}
		};
		
		
		return t;
		
	}
	
}
